package oop_abstract.demo2;

public class Carrot extends Animal{
    public Carrot(){}
    public Carrot(String name,int age){
        super(name, age);
    }
    @Override 
    public void eat(String something){
        System.out.println("兔子吃" + something);
    }
}
